// AnalogCurrData.cpp : implementation file
//

#include "stdafx.h"
#include "kwservercore.h"
#include "AnalogCurrData.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// AnalogCurrData

//IMPLEMENT_DYNAMIC(AnalogCurrData, CThreadSafeRecordset)

AnalogCurrData::AnalogCurrData()
	: CAdoRecordSet(pConnection)
{
	m_RecordNum = _T("");
	m_CoalMineId = 0;
	m_CoalMineName = _T("");
	m_MonUnitId = _T("");
	m_MonUnitName = _T("");
	m_MonUnitType = _T("");
	m_MonUnitUnit = _T("");
	m_MonUnitState = 0;
	m_MonUnitStateDes = _T("");
	m_StateChangeTime = CTime::GetCurrentTime();
	m_MonUnitData = 0.0;
	m_DataChangeTime = CTime::GetCurrentTime();
	m_AlarmLowerLimit = 0.0;
	m_AlarmUpperLimit = 0.0;
	m_ComeBackLimit = 0.0;
	m_Modify = 0;
}




/////////////////////////////////////////////////////////////////////////////
// AnalogCurrData diagnostics

#ifdef _DEBUG
void AnalogCurrData::AssertValid() const
{
	//CRecordset::AssertValid();
}

void AnalogCurrData::Dump(CDumpContext& dc) const
{
//	CRecordset::Dump(dc);
}
#endif //_DEBUG
